package com.mode.decorator.pattern;

/**
 * @Description:
 * @Author: zyf
 * @Time: 2020/9/27 16:51
 */
public class WithMilk extends CoffeeDecorator {


    public WithMilk(Coffee coffee) {
        super(coffee);
    }

    @Override
    public String getIngredients() {
        System.out.printf("add milk!!");
        return super.getIngredients();
    }
}
